import http from '@/util/http.js'
export function setOneRead(params) {
  return http({
    url: '/kadmin/sys/notify/setOneRead',
    method: 'post',
    data: params
  })
}

export function setAllRead(params) {
  return http({
    url: '/kadmin/sys/notify/setAllRead',
    method: 'post',
    data: params
  })
}

export function getMessages(params) {
  return http({
    url: '/kadmin/sys/notify/getMyNotifyPage',
    method: 'post',
    data: params
  })
}

export function deleteMsg(params) {
  return http({
    url: '/kadmin/sys/notify/deleteMsg',
    method: 'post',
    data: params
  })
}
